﻿@{
    //资讯
    int page = ViewBag.PageIndex;
    string kw = ViewBag.Keyowrd;
    string md = ViewBag.Operation;
}
@model  News
<div class="content-box">
    <div class="content-box-header">
        <h3 style="cursor: s-resize;">方案管理</h3>
        <ul class="content-box-tabs">
            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, new { action = "Index", controller = "News" })" id="List">列表</a></li>
            <li><a href="javascript:;" class="default-tab current">表单</a></li>
        </ul>
        <div class="clear"></div>
    </div>
    <div class="content-box-content">
        <div class="tab-content" id="tab2">
            <form action="@Url.DomainRouteUrl(AreasConfig.Admin, new { action = "Edit", controller = "News", md = md, page = page, kw = kw })" method="post" mark="StockForm">
                <fieldset>
                    <p>
                        <label>资讯标题：</label>
                        @Html.TextEdit("NewsTitle", Model.NewsTitle, "", new { Class = "text-input" }, new { req = 1, maxlen = 30, minlen = 6 }, new { label = "资讯标题", helper = "请输入资讯标题" })
                    </p>
                    <p>
                        <label>资讯内容：</label>
                        @Html.TextEdit("NewsComtent", Model.NewsComtent, "", new { Class = "text-input" }, new { req = 1,minlen=3 }, new { label = "资讯内容", helper = "请输入资讯内容" })
                    </p>
                    <p>
                        @Html.Hidden("NewsId", Model.NewsId)
                        <a tag="button" class="button" type="submit">提交</a>
                    </p>
                </fieldset>
                <div class="clear"></div>
            </form>
        </div>
    </div>
</div>